//
//  HTEp.swift
//  MagaCore
//
//  Created by MrMessy on 2023/5/19.
//

import Foundation
import HandyJSON

struct HTEp: HandyJSON {
  var var_id: String?// 集ID
  var var_title: String?// 每集的名字
  var var_eps_num: String?// 第几集
  var var_ssn_id: String?// 所属季或片
  var var_new_flag: String?// 是否为最新集
  var var_dub: String?

  mutating func mapping(mapper: HelpingMapper) {
    mapper <<<
      self.var_id <-- "id"

    mapper <<<
      self.var_title <-- "title"

    mapper <<<
      self.var_eps_num <-- "eps_num"

    mapper <<<
      self.var_ssn_id <-- "ssn_id"

    mapper <<<
      self.var_new_flag <-- "new_flag"

    mapper <<<
      self.var_dub <-- "dub"
  }
}
